package com.boot.dog.common.constant;

/**
 * @Author: MaxLv
 * @Date: 2019/12/2
 */
public interface Const {

    /**
     * 返回码
     */
    Integer OK = 200;
    Integer BAD_REQUEST = 400;
    Integer FORBIDDEN = 403;
    Integer UNAUTHORIZED = 401;
    Integer SERVER_ERROR = 500;

    /**
     * 枚举包名
     */
    String ENUMS_PACKAGE_NAME = "com.boot.dog.common.enums.";

    /**
     * 验证码处理
     */
    String USERNAME_KEY = "username";
    String PASSWORD_KEY = "password";
    String CODE_KEY = "code";
    String URL_KEY = "/login";
    String POST_KEY = "POST";

    /**
     * 文件保存目录
     */
    String NAS_DIR = "/var/nas/doc";
    String TEMP_DIR = "/var/temp/doc";
    String USER_DIR = "avatar";

}
